package com.aaa.service.impl;

import com.aaa.dao.AlbumMapper;
import com.aaa.dao.VoiceMapper;
import com.aaa.entity.Album;
import com.aaa.entity.Voice;
import com.aaa.service.AlbumService;
import com.aaa.service.VoiceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class VoiceServiceImpl extends ServiceImpl<VoiceMapper, Voice> implements VoiceService {
@Resource
VoiceMapper voiceMapper;
    @Override
    public List<Voice> selectVoice(String vname) {
        return voiceMapper.selectVoice(vname);
    }

    @Override
    public List<Voice> selectVoiceAll() {
        return voiceMapper.selectVoiceAll();
    }
}
